<?php


namespace app\voip\func;


use app\voip\model\EAgeGroup;

class AgeGroupFunc
{
    /**
     * @param $where
     * @return EAgeGroup[]|false
     * @throws \think\exception\DbException
     */
    static public function select($where)
    {
        return EAgeGroup::all($where);
    }
    /**
     * @param $where
     * @return EAgeGroup
     * @throws \think\exception\DbException
     */
    static public function find($where)
    {
        return EAgeGroup::get($where);
    }

}